﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DragDropEffects.cs" company="Marcelo Roca">
//   Copyright (c) 2011 Marcelo Roca. All rights reserved.
// </copyright>
// <author name="Marcelo Roca" email="marce@marceloroca.com"/>
// <license>
//   This program is free software: you can redistribute it and/or modify
//   it under the terms of the GNU General Public License as published by
//   the Free Software Foundation, either version 3 of the License, or
//   (at your option) any later version.
// 
//   This program is distributed in the hope that it will be useful,
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//   GNU General Public License for more details.
//
//   You should have received a copy of the GNU General Public License
//   along with this program.  If not, see http://www.gnu.org/licenses/.
// </license>
// --------------------------------------------------------------------------------------------------------------------

namespace GameKits.Unity.GuiForms
{
    using System;

    /// <summary>
    /// Specifies the possible effects of a drag-and-drop operation.
    /// </summary>
    [Flags]
    public enum DragDropEffects
    {
        /// <summary>
        /// The drop target does not accept the data
        /// </summary>
        None,

        /// <summary>
        /// The data from the drag source is copied to the drop target.
        /// </summary>
        Copy,

        /// <summary>
        /// The data from the drag source is moved to the drop target.
        /// </summary>
        Move,

        /// <summary>The data from the drag source is linked to the drop target.
        /// </summary>
        Link,

        /// <summary>The target can be scrolled while dragging to locate a drop position that is not currently visible in the target.
        /// </summary>
        Scroll,

        /// <summary>
        /// The combination of the Copy, Move, and Scroll effects. 
        /// </summary>
        All = Copy | Move | Scroll
    }
}
